<?php
require_once('../include/connect.inc.php');
if($_REQUEST['del_id'] != "") //  del_id มีค่าไม่ว่าง
{
$del_id = $_REQUEST['del_id'];
$subject_id = $_REQUEST['subject_id'];
$sql_del="delete from tb_agree_teacher where subject_id='$subject_id' and r_teacher_id='$del_id';";
mysql_query($sql_del) or die(mysql_error());
sleep(2);
	header("location:show_subject.php");
			exit();
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
